package com.wufeng.service.impl;

import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.wufeng.entity.EvaluateQuestion;
import com.wufeng.service.EvaluateQuestionService;
import com.wufeng.mapper.EvaluateQuestionMapper;
import org.springframework.stereotype.Service;

/**
 * @author Hxh
 * @description 针对表【evaluate_question(评测问题表)】的数据库操作Service实现
 * @createDate 2024-01-15 04:43:50
 */
@Service
public class EvaluateQuestionServiceImpl extends ServiceImpl<EvaluateQuestionMapper, EvaluateQuestion>
        implements EvaluateQuestionService {


    @Override
    public Integer saveEvaluateQuestion(EvaluateQuestion evaluateQuestion) {

        this.baseMapper.insert(evaluateQuestion);

        return evaluateQuestion.getQuestionid();
    }
}




